﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DemoObject;
using BusinessObjects;

public partial class Module_News_Controls_VideoNumViewRight : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            HashSet<string> hs = new HashSet<string>();
            hs.Add("Views DESC");
            int count = 0;
            rptmore.DataSource = TblVideoCategoriesRepository.CreateInstant().SelectListItem(null, "", "", true, 1, 20, out count, hs);
            rptmore.DataBind();
        }
    }
}
